<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Test</title>
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
</head>
<body>
<style>
body {
    padding: 0;
    margin: 0;
}

ul, li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.block {
    position: relative;
    width: 300px;
    height: 400px;
    margin: 50px auto;
    border: solid 1px #000;

    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;

    -webkit-perspective: 100px;
    -moz-perspective: 100px;
    -ms-perspective: 100px;
    -o-perspective: 100px;
    perspective: 100px;
}

.block .inner {
    position: absolute;
    width: 500px;
    height: 300px;
    transform: translate3d(0, 0, 0);
    border: solid 1px #ff0000;
}
</style>
<div class="block">
    <div class="inner"></div>
</div>
</body>
</html>